        static int CountVowels(string word)
        {
            char[] split = word.ToCharArray(); // split the word into a character arra
            char[] vowels = { 'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U' }; // make an array for the vowels
            int count = 0; // the count of the vowels; this will be returned
            foreach (char vowel in split) // for each character in the array split..
            {
                if (vowels.Contains(vowel)) // if the array vowels contains a character that was in the word..
                    count++; // add 1 to count
            }
            return count; // return how many vowels were counted
        }